package com.jy.admin.rest.request;

import com.fqgj.common.api.ParamsObject;

import java.io.Serializable;

public class QueryRequest extends ParamsObject {

    @Override
    public void validate() {

    }

    private String merchantCode;
    private String sign;
    private Item data;

    public QueryRequest() {
    }

    public QueryRequest(String merchantCode, String sign, Item data) {
        this.merchantCode = merchantCode;
        this.sign = sign;
        this.data = data;
    }

    public String getMerchantCode() {
        return merchantCode;
    }

    public QueryRequest setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
        return this;
    }

    public String getSign() {
        return sign;
    }

    public QueryRequest setSign(String sign) {
        this.sign = sign;
        return this;
    }

    public Item getData() {
        return data;
    }

    public QueryRequest setData(Item data) {
        this.data = data;
        return this;
    }


    public class Item implements Serializable {

        private Integer queryType;
        private String queryValue;

        public Item() {
        }

        public Integer getQueryType() {
            return queryType;
        }

        public Item setQueryType(Integer queryType) {
            this.queryType = queryType;
            return this;
        }

        public String getQueryValue() {
            return queryValue;
        }

        public Item setQueryValue(String queryValue) {
            this.queryValue = queryValue;
            return this;
        }
    }
}



